package com.study.dao;

import java.util.List;
import java.util.Map;

import com.study.model.User;

public interface UserMapper {

	public User getByName(String name);
	
	 /**
     * 查询所有
     * @return
     */
	public List<User> selectGroup(Map<String, Integer> map);
    
    /**
	 * 获取数据总量
	 * @param name
	 * @return
	 */
	public Integer countGroup();
    
}
